package com.RLFZ.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (vaccine)实体类
 *
 * @author zh
 * @since 2022-08-25 17:16:58
 * @description 
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("vaccine")
public class Vaccine extends Model<Vaccine> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
	private Integer id;
    /**
     * name
     */
    private String name;
    /**
     * age
     */
    private Integer age;
    /**
     * phone
     */
    private String phone;
    /**
     * card
     */
    private String card;
    /**
     * zhenci
     */
    private String zhenci;
    /**
     * pici
     */
    private String pici;
    /**
     * changjia
     */
    private String changjia;
    /**
     * danwei
     */
    private String danwei;
    /**
     * createTime
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}